package com.tengju.payment.domain.model.channel;

import com.tengju.payment.domain.model.BusinessType;
import com.tengju.payment.domain.model.ChannelType;

//渠道数仓
public interface ChannelRepository {

    void save(Channel channel);

    //根据业务类型  渠道类型
    Channel findByBusinessChannelType (BusinessType businessType, ChannelType channelType);

    //根据渠道id查询
    Channel findByChannelId (ChannelId channelId);

}
